/* linkit.js
 * By François Leporcq
 * MIT Licensed.
 */
var BezierCurve = AbstractShape.extend({
    _className: "BezierCurve",
    init: function(start, end, firstControl, secondControl){
        this._start = start != null ? start : new Point();
        this._end = end != null ? end : new Point();
        this._firstControl = firstControl != null ? firstControl : new Point();
        this._secondControl = secondControl;
    },
    setStart: function(start){
        this._start = start;
    },
    setEnd: function(end){
        this._end = end;
    },
    getStart: function(){
        return this._start;
    },
    getEnd: function(){
        return this._end;
    },
    setFirstControl: function(firstControl){
        this._firstControl = firstControl;
    },
    setSecondControl: function(secondControl){
        this._secondControl = secondControl;
    },
    getFirstControl: function(){
        return this._firstControl;
    },
    getSecondControl: function(){
        return this._secondControl;
    }
});